import Vue from 'vue'
import VueRouter from 'vue-router'
import HouseView from '../views/HouseView.vue'
import AnnounceView from '../views/AnnounceView.vue'
import CollectView from '../views/CollectView.vue'
import HistoryView from '../views/HistoryView.vue'
import ContactView from '../views/ContactView.vue'
import SettingsView from '../views/SettingsView.vue'
import AgreementView from '../views/AgreementView.vue'
import UsView from '../views/UsView.vue'
import WaitView from '../views/WaitView.vue'
import LoginView from '../views/LoginView.vue'
import SubletInfo from '../views/SubletInfo.vue'
import AccelerateView from "@/views/AccelerateView.vue";
import AccelerateBuy from "@/views/AccelerateBuy.vue";
import AccelerateHelp from "@/views/AccelerateHelp.vue";
import AccelerateBound from "@/views/AccelerateBound.vue";
import AccelerateSign from "@/views/AccelerateSign.vue";
import AccelerateValue from "@/views/AccelerateValue.vue";
import IndexRental from "@/views/IndexRental.vue";
import DemandInfo from "@/views/DemandInfo.vue";
import Release from "@/views/Release.vue";
import RentalStep1 from "@/views/RentalStep1.vue";
import RentalStep2 from "@/views/RentalStep2.vue";
import RentTransfer from "@/views/RentTransfer.vue";
import SubletStep1 from "@/views/SubletStep1.vue";
import SubletStep2 from "@/views/SubletStep2.vue";
import SubletStep3 from "@/views/SubletStep3.vue";
import RentalForm1 from "@/views/RentalForm1.vue";
import RentalForm2 from "@/views/RentalForm2.vue";
import RentalForm3 from "@/views/RentalForm3.vue";
import RentalDetailsView from "@/views/RentalDetailsView.vue";
import HouseInfoView from "@/views/HouseInfoView.vue";
import SubletHouse from "@/views/SubletHouse.vue";
import RentalHouse from "@/views/RentalHouse.vue";
import PaymentView from "@/views/PaymentView.vue";
Vue.use(VueRouter)

const routes = [
  {
    path: '/payment',
    name: 'payment',
    component: PaymentView
  },
  {
    path: '/subletHouse',
    name: 'subletHouse',
    component: SubletHouse
  },
    {
      path: '/rentalHouse',
      name: 'rentalHouse',
      component: RentalHouse
    },
  {
    path: '/houseInfo',
    name: 'houseInfo',
    component: HouseInfoView
  },
  {
    path: '/subletStep3',
    name: 'subletStep3',
    component: SubletStep3
  },
  {
    path: '/rentTransfer',
    name: 'rentTransfer',
    component: RentalDetailsView
  },
  {
    path: '/login',
    name: 'login',
    component: LoginView
  },
  {
    path: '/house',
    name: 'house',
    component: HouseView
  },
  {
    path: '/announce',
    name: 'announce',
    component: AnnounceView
  },
  {
    path: '/collect',
    name: 'collect',
    component: CollectView
  },{
    path: '/history',
    name: 'history',
    component: HistoryView
  },{
    path: '/contact',
    name: 'contact',
    component: ContactView
  },{
    path: '/settings',
    name: 'settings',
    component: SettingsView
  },{
    path: '/agreement',
    name: 'agreement',
    component: AgreementView
  },{
    path: '/us',
    name: 'us',
    component: UsView
  },{
    path: '/wait',
    name: 'wait',
    component: WaitView
  },
  {
    path: '/accelerate',
    name: 'accelerate',
    component: AccelerateView
  },
  {
    path: '/accelerateBuy',
    name: 'accelerateBuy',
    component: AccelerateBuy
  },
  {
    path: '/accelerateHelp',
    name: 'accelerateHelp',
    component: AccelerateHelp
  },
  {
    path: '/accelerateBound',
    name: 'accelerateBound',
    component: AccelerateBound
  },
  {
    path: '/accelerateSign',
    name: 'accelerateSign',
    component: AccelerateSign
  },
  {
    path: '/accelerateValue',
    name: 'accelerateValue',
    component: AccelerateValue
  },
  {
    // path: '/indexRental',
    path: '/',
    name: 'indexRental',
    component: IndexRental
  },
  {
    path: '/indexSublet',
    name: 'indexSublet',
    component: SubletInfo
  },
  {
    path: '/demandInfo',
    name: 'demandInfo',
    component: DemandInfo
  },
  {
    path: '/release',
    name: 'release',
    component: Release
  },
  {
    path: '/subletStep1',
    name: 'subletStep1',
    component: SubletStep1
  },
  {
    path: '/subletStep2',
    name: 'subletStep2',
    component: SubletStep2
  },
  {
    path: '/rental-step1',
    name: 'RentalStep1',
    component: RentalStep1
  },
  {
    path: '/rental-step2',
    name: 'RentalStep2',
    component: RentalStep2
  },
  {
    path: '/rentalForm1',
    name: 'rentalForm1',
    component: RentalForm1
  },
  {
    path: '/rentalForm2',
    name: 'rentalForm2',
    component: RentalForm2
  },
  {
    path: '/rentalForm3',
    name: 'rentalForm3',
    component: RentalForm3
  },

]

const router = new VueRouter({
  routes
})

export default router
